package cn.wp.common.core.web.annotation;

import cn.wp.common.core.dto.WpResult;
import cn.wp.common.core.web.interceptor.WpAbstractInterceptor;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.http.HttpMethod;

import java.lang.annotation.*;
import java.lang.reflect.Type;
import java.util.List;

/**
 * 服务配置
 * Created by chenyb on 2019-09-24
 */
@Target({ElementType.METHOD ,ElementType.TYPE})
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RestServiceConfig {

    String configKey() default "";

    String prefix() default "";

    String path() default "";

    HttpMethod method() default HttpMethod.POST;

}